package com.team06;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication

public class XcTeam06Application {

    public static void main(String[] args) {
        SpringApplication.run(XcTeam06Application.class, args);

        // 保持主线程不退出，让监听服务持续运行
        try {
            System.out.println("XML监听服务已启动，按Ctrl+C退出...");
            Thread.currentThread().join();
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }

}
